<!DOCTYPE html>
<html>
<head>
    <title>盒式资料</title>
		<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
			<#if shiro.hasPermission("erp:boxinfo:save")>
            <a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
			</#if>
			<#if shiro.hasPermission("erp:boxinfo:update")>
            <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			</#if>
			<#if shiro.hasPermission("erp:boxinfo:delete")>
            <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
			</#if>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
														                    <div class="form-group">
                        <div class="col-sm-2 control-label">盒式编码</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="boxInfo.boxCode" placeholder="盒式编码"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">盒式名称</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="boxInfo.boxName" placeholder="盒式名称"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">用料方式</div>
                        <div class="col-sm-10">
<!--                             <input type="text" class="form-control" v-model="boxInfo.useMethod" placeholder="用料方式"/> -->
							<el-radio v-model="useMethod" label="一块无横 竖之分">一块无横 竖之分</el-radio>
							<el-radio v-model="useMethod" label="一块有横 竖之分">一块有横 竖之分</el-radio>
							<el-radio v-model="useMethod" label="两块有横 竖之分">两块有横 竖之分</el-radio>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">最低价</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="boxInfo.minPrice" placeholder="最低价"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">禁止双驳(1:是0:否)</div>
                        <div class="col-sm-10">
<!--                             <input type="text" class="form-control" v-model="boxInfo.isForbiden" placeholder="禁止双驳(1:是0:否)"/> -->
							<el-checkbox v-model="isForbiden"></el-checkbox>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">是否连续新增(1:是0:否)</div>
                        <div class="col-sm-10">
<!--                             <input type="text" class="form-control" v-model="boxInfo.isAdd" placeholder="是否连续新增(1:是0:否)"/> -->
							<el-checkbox v-model="isAdd"></el-checkbox>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">报价公式</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="priceFormula" placeholder="报价公式"/>
                            
                            <el-popover
							  placement="right-start"
							  width="300"
							  v-model="formulaVisible">
							  <p>
							  <table>
							  	<tr>
							  		<td><el-button @click="formulaEdit(1,'长')" circle>长</el-button></td>
							  		<td><el-button @click="formulaEdit(1,'宽')" circle>宽</el-button></td>
							  		<td><el-button @click="formulaEdit(1,'高')" circle>高</el-button></td>
							  		<td><el-button @click="formulaEdit(1,'钉口')" circle>钉口</el-button></td>
							  		<td><el-button @click="formulaEdit(1,'单价')" circle>单价</el-button></td>
							  		<td><el-button @click="formulaEdit(1,'基重')" circle>基重</el-button></td>
							  	</tr>
							  	<tr>
							  		<td><el-button @click="formulaEdit(1,'1')" circle>1</el-button></td>
							  		<td><el-button @click="formulaEdit(1,'2')" circle>2</el-button></td>
							  		<td><el-button @click="formulaEdit(1,'3')" circle>3</el-button></td>
							  		<td><el-button @click="formulaEdit(1,'+')" circle>+</el-button></td>
							  		<td><el-button @click="formulaEdit(1,'-')" circle>-</el-button></td>
							  		<td><el-button @click="formulaEdit(1,'*')" circle>*</el-button></td>
							  	</tr>
							  	<tr>
							  		<td><el-button @click="formulaEdit(1,'4')" circle>4</el-button></td>
							  		<td><el-button @click="formulaEdit(1,'5')" circle>5</el-button></td>
							  		<td><el-button @click="formulaEdit(1,'6')" circle>6</el-button></td>
							  		<td><el-button @click="formulaEdit(1,'/')" circle>/</el-button></td>
							  		<td><el-button @click="formulaEdit(1,'(')" circle>(</el-button></td>
							  		<td><el-button @click="formulaEdit(1,')')" circle>)</el-button></td>
							  	</tr>
							  	
							  	<tr>
							  		<td><el-button @click="formulaEdit(1,'7')" circle>7</el-button></td>
							  		<td><el-button @click="formulaEdit(1,'8')" circle>8</el-button></td>
							  		<td><el-button @click="formulaEdit(1,'9')" circle>9</el-button></td>
							  		<td><el-button @click="formulaEdit(1,'0')" circle>0</el-button></td>
							  		<td><el-button @click="formulaEdit(1,'.')" circle>.</el-button></td>
							  		<td><el-button @click="formulaEdit(1,'del')" circle>删除</el-button></td>
							  	</tr>
							  </table>
							  </p>
							  <div style="text-align: right; margin: 0">
							    <el-button size="mini" type="text" @click="formulaVisible = false;cancelFormulaEdit(1);">取消</el-button>
							    <el-button type="primary" size="mini" @click="formulaVisible = false">确定</el-button>
							  </div>
							  <el-button type="primary" icon="el-icon-edit" circle slot="reference" @click="priceFormulaEdit(1)"></el-button>
							</el-popover>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">重量公式</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="weightFormula" placeholder="重量公式"/>
                             <el-popover
							  placement="right-start"
							  width="300"
							  v-model="formulaVisible2">
							  <p>
							  <table>
							  	<tr>
							  		<td><el-button @click="formulaEdit(2,'长')" circle>长</el-button></td>
							  		<td><el-button @click="formulaEdit(2,'宽')" circle>宽</el-button></td>
							  		<td><el-button @click="formulaEdit(2,'高')" circle>高</el-button></td>
							  		<td><el-button @click="formulaEdit(2,'钉口')" circle>钉口</el-button></td>
							  		<td><el-button @click="formulaEdit(2,'单价')" circle>单价</el-button></td>
							  		<td><el-button @click="formulaEdit(2,'基重')" circle>基重</el-button></td>
							  	</tr>
							  	<tr>
							  		<td><el-button @click="formulaEdit(2,'1')" circle>1</el-button></td>
							  		<td><el-button @click="formulaEdit(2,'2')" circle>2</el-button></td>
							  		<td><el-button @click="formulaEdit(2,'3')" circle>3</el-button></td>
							  		<td><el-button @click="formulaEdit(2,'+')" circle>+</el-button></td>
							  		<td><el-button @click="formulaEdit(2,'-')" circle>-</el-button></td>
							  		<td><el-button @click="formulaEdit(2,'*')" circle>*</el-button></td>
							  	</tr>
							  	<tr>
							  		<td><el-button @click="formulaEdit(2,'4')" circle>4</el-button></td>
							  		<td><el-button @click="formulaEdit(2,'5')" circle>5</el-button></td>
							  		<td><el-button @click="formulaEdit(2,'6')" circle>6</el-button></td>
							  		<td><el-button @click="formulaEdit(2,'/')" circle>/</el-button></td>
							  		<td><el-button @click="formulaEdit(2,'(')" circle>(</el-button></td>
							  		<td><el-button @click="formulaEdit(2,')')" circle>)</el-button></td>
							  	</tr>
							  	
							  	<tr>
							  		<td><el-button @click="formulaEdit(2,'7')" circle>7</el-button></td>
							  		<td><el-button @click="formulaEdit(2,'8')" circle>8</el-button></td>
							  		<td><el-button @click="formulaEdit(2,'9')" circle>9</el-button></td>
							  		<td><el-button @click="formulaEdit(2,'0')" circle>0</el-button></td>
							  		<td><el-button @click="formulaEdit(2,'.')" circle>.</el-button></td>
							  		<td><el-button @click="formulaEdit(2,'del')" circle>删除</el-button></td>
							  	</tr>
							  </table>
							  </p>
							  <div style="text-align: right; margin: 0">
							    <el-button size="mini" type="text" @click="formulaVisible2 = false;cancelFormulaEdit(2);">取消</el-button>
							    <el-button type="primary" size="mini" @click="formulaVisible2 = false">确定</el-button>
							  </div>
							  <el-button type="primary" icon="el-icon-edit" circle slot="reference" @click="priceFormulaEdit(2)"></el-button>
							</el-popover>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">面积公式</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="areaFormula" placeholder="面积公式"/>
                            <el-popover
							  placement="right-start"
							  width="300"
							  v-model="formulaVisible3">
							  <p>
							  <table>
							  	<tr>
							  		<td><el-button @click="formulaEdit(3,'长')" circle>长</el-button></td>
							  		<td><el-button @click="formulaEdit(3,'宽')" circle>宽</el-button></td>
							  		<td><el-button @click="formulaEdit(3,'高')" circle>高</el-button></td>
							  		<td><el-button @click="formulaEdit(3,'钉口')" circle>钉口</el-button></td>
							  		<td><el-button @click="formulaEdit(3,'单价')" circle>单价</el-button></td>
							  		<td><el-button @click="formulaEdit(3,'基重')" circle>基重</el-button></td>
							  	</tr>
							  	<tr>
							  		<td><el-button @click="formulaEdit(3,'1')" circle>1</el-button></td>
							  		<td><el-button @click="formulaEdit(3,'2')" circle>2</el-button></td>
							  		<td><el-button @click="formulaEdit(3,'3')" circle>3</el-button></td>
							  		<td><el-button @click="formulaEdit(3,'+')" circle>+</el-button></td>
							  		<td><el-button @click="formulaEdit(3,'-')" circle>-</el-button></td>
							  		<td><el-button @click="formulaEdit(3,'*')" circle>*</el-button></td>
							  	</tr>
							  	<tr>
							  		<td><el-button @click="formulaEdit(3,'4')" circle>4</el-button></td>
							  		<td><el-button @click="formulaEdit(3,'5')" circle>5</el-button></td>
							  		<td><el-button @click="formulaEdit(3,'6')" circle>6</el-button></td>
							  		<td><el-button @click="formulaEdit(3,'/')" circle>/</el-button></td>
							  		<td><el-button @click="formulaEdit(3,'(')" circle>(</el-button></td>
							  		<td><el-button @click="formulaEdit(3,')')" circle>)</el-button></td>
							  	</tr>
							  	
							  	<tr>
							  		<td><el-button @click="formulaEdit(3,'7')" circle>7</el-button></td>
							  		<td><el-button @click="formulaEdit(3,'8')" circle>8</el-button></td>
							  		<td><el-button @click="formulaEdit(3,'9')" circle>9</el-button></td>
							  		<td><el-button @click="formulaEdit(3,'0')" circle>0</el-button></td>
							  		<td><el-button @click="formulaEdit(3,'.')" circle>.</el-button></td>
							  		<td><el-button @click="formulaEdit(3,'del')" circle>删除</el-button></td>
							  	</tr>
							  </table>
							  </p>
							  <div style="text-align: right; margin: 0">
							    <el-button size="mini" type="text" @click="formulaVisible3 = false;cancelFormulaEdit(3);">取消</el-button>
							    <el-button type="primary" size="mini" @click="formulaVisible3 = false">确定</el-button>
							  </div>
							  <el-button type="primary" icon="el-icon-edit" circle slot="reference" @click="priceFormulaEdit(3)"></el-button>
							</el-popover>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">用料1：展长</div>
                        <div class="col-sm-10">
<!--                             <input type="text" class="form-control" v-model="boxInfo.materialOne" placeholder="用料1"/> -->
							<input type="text" class="form-control" v-model="materialLongOne" placeholder="展长"/>
                            <el-popover
							  placement="right-start"
							  width="300"
							  v-model="formulaVisible4">
							  <p>
							  <table>
							  	<tr>
							  		<td><el-button @click="formulaEdit(4,'长')" circle>长</el-button></td>
							  		<td><el-button @click="formulaEdit(4,'宽')" circle>宽</el-button></td>
							  		<td><el-button @click="formulaEdit(4,'高')" circle>高</el-button></td>
							  		<td><el-button @click="formulaEdit(4,'钉口')" circle>钉口</el-button></td>
							  		<td><el-button @click="formulaEdit(4,'单价')" circle>单价</el-button></td>
							  		<td><el-button @click="formulaEdit(4,'基重')" circle>基重</el-button></td>
							  	</tr>
							  	<tr>
							  		<td><el-button @click="formulaEdit(4,'1')" circle>1</el-button></td>
							  		<td><el-button @click="formulaEdit(4,'2')" circle>2</el-button></td>
							  		<td><el-button @click="formulaEdit(4,'3')" circle>3</el-button></td>
							  		<td><el-button @click="formulaEdit(4,'+')" circle>+</el-button></td>
							  		<td><el-button @click="formulaEdit(4,'-')" circle>-</el-button></td>
							  		<td><el-button @click="formulaEdit(4,'*')" circle>*</el-button></td>
							  	</tr>
							  	<tr>
							  		<td><el-button @click="formulaEdit(4,'4')" circle>4</el-button></td>
							  		<td><el-button @click="formulaEdit(4,'5')" circle>5</el-button></td>
							  		<td><el-button @click="formulaEdit(4,'6')" circle>6</el-button></td>
							  		<td><el-button @click="formulaEdit(4,'/')" circle>/</el-button></td>
							  		<td><el-button @click="formulaEdit(4,'(')" circle>(</el-button></td>
							  		<td><el-button @click="formulaEdit(4,')')" circle>)</el-button></td>
							  	</tr>
							  	
							  	<tr>
							  		<td><el-button @click="formulaEdit(4,'7')" circle>7</el-button></td>
							  		<td><el-button @click="formulaEdit(4,'8')" circle>8</el-button></td>
							  		<td><el-button @click="formulaEdit(4,'9')" circle>9</el-button></td>
							  		<td><el-button @click="formulaEdit(4,'0')" circle>0</el-button></td>
							  		<td><el-button @click="formulaEdit(4,'.')" circle>.</el-button></td>
							  		<td><el-button @click="formulaEdit(4,'del')" circle>删除</el-button></td>
							  	</tr>
							  </table>
							  </p>
							  <div style="text-align: right; margin: 0">
							    <el-button size="mini" type="text" @click="formulaVisible4 = false;cancelFormulaEdit(4);">取消</el-button>
							    <el-button type="primary" size="mini" @click="formulaVisible4 = false">确定</el-button>
							  </div>
							  <el-button type="primary" icon="el-icon-edit" circle slot="reference" @click="priceFormulaEdit(4)"></el-button>
							</el-popover>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">用料1：展宽</div>
                        <div class="col-sm-10">
							<input type="text" class="form-control" v-model="materialWideOne" placeholder="展宽"/>
                            <el-popover
							  placement="right-start"
							  width="300"
							  v-model="formulaVisible5">
							  <p>
							  <table>
							  	<tr>
							  		<td><el-button @click="formulaEdit(5,'长')" circle>长</el-button></td>
							  		<td><el-button @click="formulaEdit(5,'宽')" circle>宽</el-button></td>
							  		<td><el-button @click="formulaEdit(5,'高')" circle>高</el-button></td>
							  		<td><el-button @click="formulaEdit(5,'钉口')" circle>钉口</el-button></td>
							  		<td><el-button @click="formulaEdit(5,'单价')" circle>单价</el-button></td>
							  		<td><el-button @click="formulaEdit(5,'基重')" circle>基重</el-button></td>
							  	</tr>
							  	<tr>
							  		<td><el-button @click="formulaEdit(5,'1')" circle>1</el-button></td>
							  		<td><el-button @click="formulaEdit(5,'2')" circle>2</el-button></td>
							  		<td><el-button @click="formulaEdit(5,'3')" circle>3</el-button></td>
							  		<td><el-button @click="formulaEdit(5,'+')" circle>+</el-button></td>
							  		<td><el-button @click="formulaEdit(5,'-')" circle>-</el-button></td>
							  		<td><el-button @click="formulaEdit(5,'*')" circle>*</el-button></td>
							  	</tr>
							  	<tr>
							  		<td><el-button @click="formulaEdit(5,'4')" circle>4</el-button></td>
							  		<td><el-button @click="formulaEdit(5,'5')" circle>5</el-button></td>
							  		<td><el-button @click="formulaEdit(5,'6')" circle>6</el-button></td>
							  		<td><el-button @click="formulaEdit(5,'/')" circle>/</el-button></td>
							  		<td><el-button @click="formulaEdit(5,'(')" circle>(</el-button></td>
							  		<td><el-button @click="formulaEdit(5,')')" circle>)</el-button></td>
							  	</tr>
							  	
							  	<tr>
							  		<td><el-button @click="formulaEdit(5,'7')" circle>7</el-button></td>
							  		<td><el-button @click="formulaEdit(5,'8')" circle>8</el-button></td>
							  		<td><el-button @click="formulaEdit(5,'9')" circle>9</el-button></td>
							  		<td><el-button @click="formulaEdit(5,'0')" circle>0</el-button></td>
							  		<td><el-button @click="formulaEdit(5,'.')" circle>.</el-button></td>
							  		<td><el-button @click="formulaEdit(5,'del')" circle>删除</el-button></td>
							  	</tr>
							  </table>
							  </p>
							  <div style="text-align: right; margin: 0">
							    <el-button size="mini" type="text" @click="formulaVisible5 = false;cancelFormulaEdit(5);">取消</el-button>
							    <el-button type="primary" size="mini" @click="formulaVisible5 = false">确定</el-button>
							  </div>
							  <el-button type="primary" icon="el-icon-edit" circle slot="reference" @click="priceFormulaEdit(5)"></el-button>
							</el-popover>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">用料1：长余量</div>
                        <div class="col-sm-10">
							<input type="text" class="form-control" v-model="boxInfo.materialLongerOne" placeholder="长余量"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">用料1：宽余量</div>
                        <div class="col-sm-10">
							<input type="text" class="form-control" v-model="boxInfo.materialWiderOne" placeholder="宽余量"/>
                        </div>
                    </div>
											                     <div class="form-group">
                        <div class="col-sm-2 control-label">用料2：展长</div>
                        <div class="col-sm-10">
<!--                             <input type="text" class="form-control" v-model="boxInfo.materialOne" placeholder="用料1"/> -->
							<input type="text" class="form-control" v-model="materialLongTwo" placeholder="展长"/>
                            <el-popover
							  placement="right-start"
							  width="300"
							  v-model="formulaVisible6">
							  <p>
							  <table>
							  	<tr>
							  		<td><el-button @click="formulaEdit(6,'长')" circle>长</el-button></td>
							  		<td><el-button @click="formulaEdit(6,'宽')" circle>宽</el-button></td>
							  		<td><el-button @click="formulaEdit(6,'高')" circle>高</el-button></td>
							  		<td><el-button @click="formulaEdit(6,'钉口')" circle>钉口</el-button></td>
							  		<td><el-button @click="formulaEdit(6,'单价')" circle>单价</el-button></td>
							  		<td><el-button @click="formulaEdit(6,'基重')" circle>基重</el-button></td>
							  	</tr>
							  	<tr>
							  		<td><el-button @click="formulaEdit(6,'1')" circle>1</el-button></td>
							  		<td><el-button @click="formulaEdit(6,'2')" circle>2</el-button></td>
							  		<td><el-button @click="formulaEdit(6,'3')" circle>3</el-button></td>
							  		<td><el-button @click="formulaEdit(6,'+')" circle>+</el-button></td>
							  		<td><el-button @click="formulaEdit(6,'-')" circle>-</el-button></td>
							  		<td><el-button @click="formulaEdit(6,'*')" circle>*</el-button></td>
							  	</tr>
							  	<tr>
							  		<td><el-button @click="formulaEdit(6,'4')" circle>4</el-button></td>
							  		<td><el-button @click="formulaEdit(6,'5')" circle>5</el-button></td>
							  		<td><el-button @click="formulaEdit(6,'6')" circle>6</el-button></td>
							  		<td><el-button @click="formulaEdit(6,'/')" circle>/</el-button></td>
							  		<td><el-button @click="formulaEdit(6,'(')" circle>(</el-button></td>
							  		<td><el-button @click="formulaEdit(6,')')" circle>)</el-button></td>
							  	</tr>
							  	
							  	<tr>
							  		<td><el-button @click="formulaEdit(6,'7')" circle>7</el-button></td>
							  		<td><el-button @click="formulaEdit(6,'8')" circle>8</el-button></td>
							  		<td><el-button @click="formulaEdit(6,'9')" circle>9</el-button></td>
							  		<td><el-button @click="formulaEdit(6,'0')" circle>0</el-button></td>
							  		<td><el-button @click="formulaEdit(6,'.')" circle>.</el-button></td>
							  		<td><el-button @click="formulaEdit(6,'del')" circle>删除</el-button></td>
							  	</tr>
							  </table>
							  </p>
							  <div style="text-align: right; margin: 0">
							    <el-button size="mini" type="text" @click="formulaVisible6 = false;cancelFormulaEdit(6);">取消</el-button>
							    <el-button type="primary" size="mini" @click="formulaVisible6 = false">确定</el-button>
							  </div>
							  <el-button type="primary" icon="el-icon-edit" circle slot="reference" @click="priceFormulaEdit(6)"></el-button>
							</el-popover>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">用料2：展宽</div>
                        <div class="col-sm-10">
							<input type="text" class="form-control" v-model="materialWideTwo" placeholder="展宽"/>
                            <el-popover
							  placement="right-start"
							  width="300"
							  v-model="formulaVisible7">
							  <p>
							  <table>
							  	<tr>
							  		<td><el-button @click="formulaEdit(7,'长')" circle>长</el-button></td>
							  		<td><el-button @click="formulaEdit(7,'宽')" circle>宽</el-button></td>
							  		<td><el-button @click="formulaEdit(7,'高')" circle>高</el-button></td>
							  		<td><el-button @click="formulaEdit(7,'钉口')" circle>钉口</el-button></td>
							  		<td><el-button @click="formulaEdit(7,'单价')" circle>单价</el-button></td>
							  		<td><el-button @click="formulaEdit(7,'基重')" circle>基重</el-button></td>
							  	</tr>
							  	<tr>
							  		<td><el-button @click="formulaEdit(7,'1')" circle>1</el-button></td>
							  		<td><el-button @click="formulaEdit(7,'2')" circle>2</el-button></td>
							  		<td><el-button @click="formulaEdit(7,'3')" circle>3</el-button></td>
							  		<td><el-button @click="formulaEdit(7,'+')" circle>+</el-button></td>
							  		<td><el-button @click="formulaEdit(7,'-')" circle>-</el-button></td>
							  		<td><el-button @click="formulaEdit(7,'*')" circle>*</el-button></td>
							  	</tr>
							  	<tr>
							  		<td><el-button @click="formulaEdit(7,'4')" circle>4</el-button></td>
							  		<td><el-button @click="formulaEdit(7,'5')" circle>5</el-button></td>
							  		<td><el-button @click="formulaEdit(7,'6')" circle>6</el-button></td>
							  		<td><el-button @click="formulaEdit(7,'/')" circle>/</el-button></td>
							  		<td><el-button @click="formulaEdit(7,'(')" circle>(</el-button></td>
							  		<td><el-button @click="formulaEdit(7,')')" circle>)</el-button></td>
							  	</tr>
							  	
							  	<tr>
							  		<td><el-button @click="formulaEdit(7,'7')" circle>7</el-button></td>
							  		<td><el-button @click="formulaEdit(7,'8')" circle>8</el-button></td>
							  		<td><el-button @click="formulaEdit(7,'9')" circle>9</el-button></td>
							  		<td><el-button @click="formulaEdit(7,'0')" circle>0</el-button></td>
							  		<td><el-button @click="formulaEdit(7,'.')" circle>.</el-button></td>
							  		<td><el-button @click="formulaEdit(7,'del')" circle>删除</el-button></td>
							  	</tr>
							  </table>
							  </p>
							  <div style="text-align: right; margin: 0">
							    <el-button size="mini" type="text" @click="formulaVisible7 = false;cancelFormulaEdit(7);">取消</el-button>
							    <el-button type="primary" size="mini" @click="formulaVisible7 = false">确定</el-button>
							  </div>
							  <el-button type="primary" icon="el-icon-edit" circle slot="reference" @click="priceFormulaEdit(7)"></el-button>
							</el-popover>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">用料2：长余量</div>
                        <div class="col-sm-10">
							<input type="text" class="form-control" v-model="boxInfo.materialLongerTwo" placeholder="长余量"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">用料2：宽余量</div>
                        <div class="col-sm-10">
							<input type="text" class="form-control" v-model="boxInfo.materialWiderTwo" placeholder="宽余量"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">核算内容</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="boxInfo.checkContent" placeholder="核算内容"/>
                        </div>
                    </div>
							            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/erp/boxinfo.js?_${.now?long}"></script>
</body>
</html>